package com.danny.mapper;

import com.danny.pojo.Vip;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface VipMapper {
    List<Vip> queryAllVip();
    List<Vip> queryVipLimit(String VipName,int page,int pageSize);
    List<Vip> queryVipLimitByNoParam(int page,int pageSize);
    int addVip(Vip admin);
    int updateVip(Vip admin);
    int deleteVipById(int id);
    int vipCount();
    int vipCountHasInput(String VipName);


}
